<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Statement execution: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="migration-2.html" title="Migration from 3.X versions">
<link rel="prev" href="migration-2-dict.html" title="Dictionary changes">
<link rel="next" href="migration-2-report.html" title="Reports">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="migration-2.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="migration-2-dict.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="migration-2-report.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="migration-2-exec"></a>Statement execution</h2></div></div></div>
<p>
      <span class="application">Libgda</span> still offers several methods to execute a statement, depending on the type of statement to execute
      (there is still of course the <a class="link" href="GdaConnection.html#gda-connection-statement-execute" title="gda_connection_statement_execute ()">gda_connection_statement_execute()</a>
      method which works for any type of statement), but the methods have been improved:
      </p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>For SELECT statements, it is now possible to specify the way the resulting data model will
	    be accessed (random access or using a cursor) which enables applications to better manage memory
	    consumption.</p></li>
<li class="listitem"><p>For INSERT statements, it is possible to obtain a list of all the values inserted in the
	    table (not only the columns for which a value was specified)</p></li>
<li class="listitem"><p>The execution of a SELECT statement returns a <a class="link" href="GdaDataSelect.html" title="GdaDataSelect">GdaDataSelect</a>
	    data model which can (after having provided some information) be modified using the traditional
	    <a class="link" href="GdaDataModel.html" title="GdaDataModel">GdaDataModel</a>'s data modification methods (modifications are
	    translated into INSERT, UPDATE or DELETE statements).</p></li>
</ul></div>
<p>
    </p>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>